﻿@model Models.WebSite_HaiSheng.Message
@using Utilities
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.ValidationSummary(true)
<fieldset>
    <legend>留言</legend>
    <div class="editor-label">
        @Html.LabelFor(model => model.Title)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Title)
        @Html.ValidationMessageFor(model => model.Title)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Sender)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Sender)
        @Html.ValidationMessageFor(model => model.Sender)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Content)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.Content)
        @Html.ValidationMessageFor(model => model.Content)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Contact)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Contact)
        @Html.ValidationMessageFor(model => model.Contact)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.ContentDate)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ContentDate)
        @Html.ValidationMessageFor(model => model.ContentDate)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Reply)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.Reply)
        @Html.ValidationMessageFor(model => model.Reply)
    </div>
    
    <div class="editor-label">
        @Html.LabelFor(model => model.ReplyDate)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ReplyDate)
        @Html.ValidationMessageFor(model => model.ReplyDate)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Description)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Description)
        @Html.ValidationMessageFor(model => model.Description)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Sequence)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Sequence)
        @Html.ValidationMessageFor(model => model.Sequence)
    </div>
    <p>
        <input type="submit" value=@SR.Save />
    </p>
</fieldset>
